package com.zeldu.chat;

import com.zeldu.chat.server.ChatServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class ChatApplication {
    public static void main(String[] args){

        ConfigurableApplicationContext applicationContext=SpringApplication.run(ChatApplication.class,args);
        ChatServer.setApplicationContext(applicationContext);
    }
}
